package OneSpring;

import OneSpring.Component.MyService;
import OneSpring.IOC.BeansXml;
import OneSpring.IOC.MyIOC;

public class Main {
    public static void main(String[] args) {
        MyIOC myIOC = new MyIOC(BeansXml.class);
        MyService bean = (MyService) myIOC.getBean("service");
        bean.mi();
    }
}
